package com.etoak.service.impl;

import com.etoak.entity.ChecklistUpdateReason;
import com.etoak.mapper.UpdateReasonMapper;
import com.etoak.service.IUpdateReasonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author zhixuebin
 * @Date 2022/5/18
 */
@Service
public class UpdateReasonServiceImpl implements IUpdateReasonService {

    @Autowired
    UpdateReasonMapper updateReasonMapper;

    @Override
    public int add(ChecklistUpdateReason reason) {
        return updateReasonMapper.add(reason);
    }

}
